package com.sky.mapper;

import com.sky.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AdminOrderMapper {
    @Update("update orders set status = 3 where id = #{id}")
    void confirm(Integer id);

    void update(Orders orders);
}
